home *** CD-ROM | disk | FTP | other *** search
/ Champak 138 / Volume 138 Aug 19 2011 - Damaged.iso / Games / shadez.swf / scripts / com / kongregate / as3 / client / services / UserServiceShadow.as < prev   
Encoding:
Text File  |  2011-08-19  |  908 b   |  41 lines

  1. package com.kongregate.as3.client.services
  2. {
  3.    public class UserServiceShadow extends AbstractShadowService implements IUserServices
  4.    {
  5.        
  6.       
  7.       public function UserServiceShadow()
  8.       {
  9.          if(true)
  10.          {
  11.             super();
  12.          }
  13.       }
  14.       
  15.       public function getName() : String
  16.       {
  17.          if(true)
  18.          {
  19.             alert("UserService","getName");
  20.          }
  21.          return "Guest";
  22.       }
  23.       
  24.       public function getPlayerInfo(param1:Function) : void
  25.       {
  26.          alert("UserService","getPlayerInfo");
  27.          param1({
  28.             "isGuest":true,
  29.             "name":"Guest",
  30.             "points":0,
  31.             "level":0,
  32.             "isMode":false,
  33.             "isAdmin":false,
  34.             "isDeveloper":false,
  35.             "avatarPath":"",
  36.             "chatAvatarPath":""
  37.          });
  38.       }
  39.    }
  40. }
  41.